The British trawler that was detained by France during the post-Brexit fishing row has been released by the French authorities.