Print unique rows in a given boolean matrix