If finalized, legislation would require ambassadors and consuls to pledge loyalty to Israel as a Jewish and democratic state as condition of receiving postings