Bayrou paid the price for what appeared to be a staggering political miscalculation, gambling that lawmakers would back his view that France must slash public spending to repair its debts.