Israel's Yashar party, racing against a deadline to form a coalition government, has struck a deal with a right-wing ‌opposition party.