Senuran Muthusamy took a record-breaking 6-117 to help South Africa bowl out Pakistan for 378 in the first innings of the first Test, in Lahore.