Supreme Court curtails gun ban for drug users