Netanyahu’s government accepts latest proposal from mediators that heightens chance of a deal with Hamas