Israel's 'Shabbat crisis' ends in compromise