(Reuters) - Bank of America Corp's net profit nearly halved compared with a year earlier as it booked a $2.9 billion charge stemming from the new federal tax law although it beat analysts' estimates when adjusted for the charge.