A military statement says Abdul Baki was killed Wednesday while police were conducting a search of his residence .