UK govt ‘unlawfully’ gave contract to PM adviser’s friends