energy != mass; e=mc^2 declares there is a proportional relationship between energy and mass while the speed of light, c, squared is the constant of proportionality.
As a matter of fact this is pretty common in particle physics where all masses are given in electronvolts.
If you split the system into two components and release X energy, then the two components will weigh X/c^2 less than the whole system did; if splitting the system consumed X energy, then the separate components will weigh X/c^2 more than the original thing.