EXHIBIT 10.4 REGISTRATION RIGHTS AGREEMENT