4th Circuit rules for MD prisoner attacked by guards, allows