South Africa police probe ‘extremism’ element in mosque attack