Biogen has struck a backloaded, $1 billion deal to buy RayThera, snagging a pipeline of anti-inflammatory drug candidates led by a prospect on the cusp of clinical development.