KP assembly passes social security bill to ensure safety of workers