Oath Keepers-linked attorney ruled incompetent to stand trial, will get mental treatment in custody