Lawmakers from both ruling and opposition parties had submitted a motion of no confidence against the government on Wednesday