Ameritrade, J.P. Morgan to cut workers