Relishing a moment of triumph after a successful, long-running legal battle to end the District's handgun ban, Dick A. Heller strode into D.C. police headquarters yesterday with an unloaded revolver and began registering the weapon so he can keep it in his Capitol Hill home for self-defense.