Algeria attack claimed by al-Qaida offshoot