UK should back licensing-first approach for AI training, says upper house committee