Following Likud gains, president seen as set to assign Netanyahu with first crack at cobbling together a majority coalition, though legal challenge looms because of criminal cases