Bank of America Corp. is pushing its investment-banking analysts to disclose if they’ve accepted jobs elsewhere and telling them they face redeployment if they do so, the latest attempt by Wall Street lenders to stem defections to private equity firms and other rivals.