Vote comes just a few hours after the European Commission calls on Warsaw to put off on approving the draft law