The bank told mortgage brokers to apply the federal government’s ban when assessing investor loans, even though it is not yet law.