Square posts Q1 loss