More than 300 people affected by the 2017 Manchester Arena bombing on Friday lost their bid to sue Britain's domestic intelligence services for failing to take "appropriate measures" to prevent the attack.