TOKYO —Dancing after midnight in Tokyo will no longer be illegal—as long as it’s not too dark—after the Diet on Wednesday voted to relax laws that banned boogying in one of the world’s clubbing capitals.