Rondell Henry, a Maryland man, has become mentally competent to stand trial more than two years after he was charged with planning an Islamic State-inspired attack at a shopping and entertainment complex near Washington, D.C., a federal judge ruled Tuesday.