PM condemns terror attack in Barcelona