Allen to replace Nelson on All-Star team