Nonequilibrium Phase Transition in a Model of Diffusion, Aggregation, and Fragmentation