Legal provisions weighed on the bottom line at Germany's largest lender Deutsche Bank, with net profit falling in the fourth quarter.