Manchester Arndale attacker stabbed shoppers at random, court hears