U.K bank Barclays posted a loss in its full-year earnings on Tuesday as it set aside more money for potential fines.