I used a self-tapping screw (for sheet metal) to drill into the bottom of the stuck battery. Then I turned a long screw into the hole and pulled out the battery.
One advantage of this method is there is no banging or impact to the trackpad.
Others above have great methods for cleaning the compartment. The trackpad is good as new.