Federal judge grants Yemeni Gitmo detainee's habeas petition