Federal preemption of state banking law is a cornerstone of the national-banking system. But it is not always clear when a federal law preempts a…