British armed forces have officially finished combat operations in Iraq, marking an end to their six-year military presence in the oil-rich country.