A federal agency told banks they must act to provide accurate information to companies that track a consumer’s overdrawn and closed checking accounts.