The one-day session stretched past midnight and the Senate voted early Wednesday to approve an overhaul of state energy policy that would put power customers on the hook for a nearly $700 million bailout of three nuclear plants owned by the parent company of scandal-plagued Commonwealth Edison.