Public sector strike closes magistrates' courts