Weighted Trace-Penalty Minimization for Full Configuration Interaction