Iraq has said British troops can leave Iraq because they are no longer needed to maintain security in the south of the country.