Quantum chaos and nuclear mass systematics