PM grieved over loss of lives in Quetta attack