McConnell and Democrats reach temporary deal on debt ceiling