The Democrat said Thursday that a two-year study conducted by her office found Massachusetts customers who switched to a competitive electricity supplier paid nearly $177 million more than if they had stayed with their utility company.