Biogen is discontinuing development of an experimental therapy for a rare brain disease after the treatment failed a mid-stage trial, the latest setback in attempts to develop a medicine for the disorder.