German government agrees on bailout for energy supplier