When you need to melt cold butter in a pan, don’t break out the knife or try to chip off a shard, just put it face down on the pan and let the appropriate amount melt.
This requires that you keep a small ring of the foil on the base (for convenience and clean hands) but it’s easy to do that once you get into the habit.