Al-Qaeda-linked rebels apologise after cutting off head of wrong person