Gitmo detainee pleads guilty to terror charges before military tribunal