Far-right and left-wing lawmakers joined forces to back a no-confidence motion against Prime Minister Michel Barnier and his government.