Philippine court sentences 7 militants to death